cmake_minimum_required(VERSION 3.15.0)

project(linux)

file(GLOB local_src *.cpp)

add_library(platform ${local_src})

include_directories(${GTK3_INCLUDE_DIRS})

find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK3 REQUIRED gtk+-3.0 )


target_link_libraries(platform ${GTK3_LIBRARIES}  glfw3 pthread GL dl)
target_compile_options(platform PRIVATE ${GTK3_CFLAGS_OTHER} )
